<!-- 导航URL -->
<div class="row wrapper border-bottom white-bg page-heading">
	<div class="col-md-12">
		<ol class="breadcrumb">
			<li><a>主页</a></li>
			<li><a>销售查询菜单</a></li>
			<li class="active"><strong>商户进件详情</strong></li>
		</ol>
	</div>
</div>


<!-- 主要内容 -->
<div class="wrapper wrapper-content animated fadeIn" ng-app
	ng-controller="merchantDetailCtrl">
	<form class="form-horizontal" id="form1">
		<div class="row">
			<div class="col-lg-12">
				<div class="tabs-container tab_other">
					<uib-tabset> 
						<uib-tab> 
							<uib-tab-heading>
								<span class="block m-t-xs"> <i class="fa fa-laptop"></i> <strong
									class="font-bold">审核信息</strong>
								</span> 
							</uib-tab-heading>
							
							<div class="panel-body ibox float-e-margins">
								<div class="ibox-title">
									<h5>基本信息</h5>
								</div>
								<div class="ibox-content">
		
									<div class="form-group">
											<label class="col-sm-2 control-label">商户进件编号：</label>
											<div class="col-sm-2 checkbox" ng-bind="mbp.id">
											</div>
											
											<label class="col-sm-2 control-label">商户编号：</label>
											<div class="col-sm-2 checkbox" ng-bind="mbp.merchantNo">
											</div>
										</div>
										
										<div class="form-group">
											<label class="col-sm-2 control-label">商户名称：</label>
											<div class="col-sm-2 checkbox" ng-bind="info.merchantName">
											</div>
											
											<label class="col-sm-2 control-label">手机号：</label>
											<div class="col-sm-2 checkbox" >
												<span ng-bind="info.mobilephone"></span>
												<button type="button" ng-show="dataSta&&hasPermit('merchantBusinessProduct.dataProcessingTwo')" ng-click="getDataProcessing()">显示</button>
											</div>
										</div>
			
										<div class="form-group">
											<label class="col-sm-2 control-label">法人姓名：</label>
											<div class="col-sm-2 checkbox" ng-bind="info.lawyer">
											</div>
											<label class="col-sm-2 control-label">法人身份证号：</label>
											<div class="col-sm-3 checkbox" >
												<span ng-bind="info.idCardNo"></span>
												<button type="button" ng-show="dataSta&&hasPermit('merchantBusinessProduct.dataProcessingTwo')" ng-click="getDataProcessing()">显示</button>
											</div>
										</div>
										
										<div class="form-group">
											<label class="col-sm-2 control-label">所属代理商：</label>
											<div class="col-sm-2 checkbox" ng-bind="info.agentName">
											</div>
											<label class="col-sm-2 control-label">所属销售：</label>
											<div class="col-sm-2 checkbox" ng-bind="info.saleName">
											</div>
										</div>
										
										<div class="form-group">
											<label class="col-sm-2 control-label">进件来源：</label>
											<div class="col-sm-2 checkbox" ng-bind="mbp.itemSource|formatDropping:merItemSourceList">
											</div>
											<label class="col-sm-2 control-label">业务产品：</label>
											<div class="col-sm-2 checkbox" ng-bind="mbp.bpName">
	 										</div>
										</div>
										
										<div class="form-group">
											<label class="col-sm-2 control-label">状态：</label>
											<div class="col-sm-2 checkbox" ng-bind="mbp.status |formatDropping:itemStatus">
											</div>
										</div>
								</div>
							</div>
							
							<div class="panel-body ibox float-e-margins">
								<div class="ibox-title">
									<h5>机具信息</h5>
								</div>
								<div class="ibox-content">
									<div class="form-group" ng-repeat="val in terminal">
										<label class="col-sm-2 control-label">业务产品：</label>
										<div class="col-sm-2 checkbox" ng-bind="val.bpName">
										</div>
										<label class="col-sm-2 control-label">机具号：</label>
										<div class="col-sm-2 checkbox" ng-bind="val.sn">
										</div>
									</div>
								</div>
							</div>
							
							<div class="panel-body ibox float-e-margins">
			
								<div class="ibox-title">
									<h5>经营信息</h5>
								</div>
								<div class="ibox-content">
			
									<div class="form-group">
										<label class="col-sm-2 control-label">商户类型：</label>
										<div class="col-sm-2 checkbox" ng-bind="merchantTypes(info.merchantType)">
										</div>
									</div>
			
									<div class="form-group" ng-show="info.address!=null">
										<label class="col-sm-2 control-label">经营地址：</label>
										<div class="col-sm-4 checkbox" ng-bind="info.address">
										</div>
									</div>
										
									<div class="form-group" ng-hide="info.merchantType==1">
										<label class="col-sm-2 control-label">经营范围：</label>
										<div class="col-sm-1 checkbox" ng-bind="info.sysName">
										</div>
										<div class="col-sm-2 checkbox" ng-bind="info.twoSysName">
										</div>
									</div>
										
								</div>
							</div>

						</uib-tab> 
						
						<uib-tab> 
							<uib-tab-heading> 
								<span
									class="block m-t-xs"> <i class="fa fa-laptop"></i> <strong
									class="font-bold">服务费率</strong>
								</span> 
							</uib-tab-heading> 
							
							<div class="panel-body">
								<div class="gridStyle" style="height: 200px;" ng-grid="merchantRateList"/>
								<div class="block m-t-xs">
	                           		<strong>备注：</strong><br/>
										每笔固定金额1元，则填写商户费率1.00；<br/>
										每笔扣率为0.1%则填写商户费率0.1%<br/>
										每笔扣率为0.1%，封顶3元，保底1元则填写商户费率1.00~0.1%~3.00；<br/>
										每笔扣率为0.1%加上固定金额1元，则填写商户费率0.1%+1.00；<br/>
										单笔阶梯扣率如10000.00元以下，扣率0.38%，10000.00元及以上扣率0.37%，则填写0<0.38%<10000.00;10000.00<=0.37%;<br/>
						  		 </div>
							</div>
						</uib-tab> 
						
						<uib-tab> 
							<uib-tab-heading> 
								<span
									class="block m-t-xs"> <i class="fa fa-laptop"></i> <strong
									class="font-bold">服务限额</strong>
								</span> 
							</uib-tab-heading> 
							<div class="panel-body">
	                          	<div class="gridStyle" style="height: 200px;" ng-grid="merchantQuotaList"/>
	                        </div>
						</uib-tab> 
						
						<uib-tab> 
							<uib-tab-heading> 
								<span
									class="block m-t-xs"> <i class="fa fa-laptop"></i> <strong
									class="font-bold">服务状态</strong>
								</span> 
							</uib-tab-heading> 
							<div class="panel-body">
	                          	<div class="gridStyle" style="height: 200px;width: 420px;" ng-grid="serviceStatusMgr"/>
	                        </div>
						</uib-tab> 
						
						
						<uib-tab> 
							<uib-tab-heading> 
								<span
									class="block m-t-xs"> <i class="fa fa-laptop"></i> <strong
									class="font-bold">账户信息</strong>
								</span> 
							</uib-tab-heading> 
							<div class="panel-body ibox float-e-margins">
								<div class="ibox-title">
									<h5>账户余额</h5>
								</div>
								<div class="ibox-content">
									<div class="form-group">
										<div class="gridStyle" style="height: 100px;" ng-grid="accountBalance"/>
									</div>
								</div>
	                        </div>
	                        
	                        <div class="panel-body ibox float-e-margins">
	                       	 	<div class="ibox-title">
									<h5>账户明细</h5>
								</div>
	                        	<div class="ibox-content">
	                        		<div class="form-group">
<!-- 	                        			<label class="col-sm-2 control-label">账号：</label> -->
<!-- 										<div class="col-sm-3"> -->
<!-- 											<input type="text" class="form-control" ng-model="accountInfo.accountNo"> -->
<!-- 										</div> -->
		                        		<label class="col-sm-2 control-label">操作：</label>
										<div class="col-sm-3">
											<select class="form-control" ng-model="accountInfo.operation" ng-options="x.value as x.text for x in operations"/>
										</div>
									</div>
	                        		<div class="form-group">
										<label class="col-sm-2 control-label">交易时间：</label>
										<div class="col-sm-8">
											<input ng-model="accountInfo.sdate" type="datetime" style="width:auto;display:inline-block;" class="form-control" date-time min-view="date" view="date" format="YYYY-MM-DD">
											-
											<div style="position: relative; display: inline-block">
												<input ng-model="accountInfo.edate" type="datetime" style="width:auto;display:inline-block;" class="form-control" date-time min-view="date" view="date"  format="YYYY-MM-DD">
											</div>
										</div>
										
	                        		</div>
	                        		<div class="form-group">
										<div class="col-lg-12">
											<div class="col-sm-2"></div>
											<button class="btn btn-primary6 btn-mr20" type="button"
											 	ng-click="selectAccountInfo()">查询</button>
											 <button class="btn btn-primary3" type="button"
												ng-click="clearAccountInfo()">清空</button>
										</div>
									</div>
	                        		
	                        		<div class="form-group">
										<div class="grid" ui-grid-resize-columns ui-grid-pagination ui-grid-selection ui-grid-pinning ui-grid="accountDetailMgr"/>
									</div>
	                        	</div>
	                        	
	                        	
	                        </div>
						</uib-tab> 
						
					</uib-tabset>

				</div>
			</div>
		</div>
			<div class="col-lg-12 bgff">
				<div class="col-sm-12">
					<div class="col-sm-2"></div>
					<div class="col-sm-6"><a class="btn btn-primary4 btn-rounded" type="button" ui-sref="sale.merchantSelect"
											 id="btnSubmit">返回</a></div>
				</div>
			</div>

	</form>
</div>
